package com.px.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import io.swagger.annotations.ApiModelProperty;
import com.px.common.annotation.Excel;
import com.px.common.core.domain.BaseEntity;

/**
 * 机场设备属性osd对象 airport_osd
 *
 * @author WRJ
 * @date 2024-08
 */
public class AirportOsd extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty(value = "$column.columnComment")
    private Long id;

    /** 机场sn码 */
    @ApiModelProperty(value = "机场sn码")
    @Excel(name = "机场sn码")
    private String sn;

    /** 经度 */
    @ApiModelProperty(value = "经度")
    @Excel(name = "经度")
    private BigDecimal longitude;

    /** 纬度 */
    @ApiModelProperty(value = "纬度")
    @Excel(name = "纬度")
    private BigDecimal latitude;

    /** 机场状态{"0":"空闲中","1":"现场调试","2":"远程调试","3":"固件升级中","4":"作业中"} */
//    @ApiModelProperty(value = "机场状态{"0":"空闲中","1":"现场调试","2":"远程调试","3":"固件升级中","4":"作业中"}")
//    @Excel(name = "机场状态{"0":"空闲中","1":"现场调试","2":"远程调试","3":"固件升级中","4":"作业中"}")
    private Integer modeCode;

    /** 机场固件版本号 */
    @ApiModelProperty(value = "机场固件版本号")
    @Excel(name = "机场固件版本号")
    private String firmwareVersion;

    /** 机场累计作业次数 */
    @ApiModelProperty(value = "机场累计作业次数")
    @Excel(name = "机场累计作业次数")
    private Integer jobNumber;

    /** 降雨量.{"0":"无雨","1":"小雨","2":"中雨","3":"大雨"} */
//    @ApiModelProperty(value = "降雨量.{"0":"无雨","1":"小雨","2":"中雨","3":"大雨"}")
//    @Excel(name = "降雨量.{"0":"无雨","1":"小雨","2":"中雨","3":"大雨"}")
    private String rainfall;

    /** 风速.m/s */
    @ApiModelProperty(value = "风速.m/s")
    @Excel(name = "风速.m/s")
    private String windSpeed;

    /** 环境温度.°C */
    @ApiModelProperty(value = "环境温度.°C")
    @Excel(name = "环境温度.°C")
    private String environmentTemperature;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setSn(String sn)
    {
        this.sn = sn;
    }

    public String getSn()
    {
        return sn;
    }
    public void setLongitude(BigDecimal longitude)
    {
        this.longitude = longitude;
    }

    public BigDecimal getLongitude()
    {
        return longitude;
    }
    public void setLatitude(BigDecimal latitude)
    {
        this.latitude = latitude;
    }

    public BigDecimal getLatitude()
    {
        return latitude;
    }
    public void setModeCode(Integer modeCode)
    {
        this.modeCode = modeCode;
    }

    public Integer getModeCode()
    {
        return modeCode;
    }
    public void setFirmwareVersion(String firmwareVersion)
    {
        this.firmwareVersion = firmwareVersion;
    }

    public String getFirmwareVersion()
    {
        return firmwareVersion;
    }
    public void setJobNumber(Integer jobNumber)
    {
        this.jobNumber = jobNumber;
    }

    public Integer getJobNumber()
    {
        return jobNumber;
    }
    public void setRainfall(String rainfall)
    {
        this.rainfall = rainfall;
    }

    public String getRainfall()
    {
        return rainfall;
    }
    public void setWindSpeed(String windSpeed)
    {
        this.windSpeed = windSpeed;
    }

    public String getWindSpeed()
    {
        return windSpeed;
    }
    public void setEnvironmentTemperature(String environmentTemperature)
    {
        this.environmentTemperature = environmentTemperature;
    }

    public String getEnvironmentTemperature()
    {
        return environmentTemperature;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("sn", getSn())
                .append("longitude", getLongitude())
                .append("latitude", getLatitude())
                .append("modeCode", getModeCode())
                .append("firmwareVersion", getFirmwareVersion())
                .append("jobNumber", getJobNumber())
                .append("rainfall", getRainfall())
                .append("windSpeed", getWindSpeed())
                .append("environmentTemperature", getEnvironmentTemperature())
                .append("createTime", getCreateTime())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
